package com.huiqiao.bus.domain;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "bus_customer")
public class Customer {
    @Id
    private String identity;

    private String custname;

    private Double sex;

    private String address;

    private String phone;

    private String career;

    private Date createtime;

    /**
     * @return identity
     */
    public String getIdentity() {
        return identity;
    }

    /**
     * @param identity
     */
    public void setIdentity(String identity) {
        this.identity = identity;
    }

    /**
     * @return custname
     */
    public String getCustname() {
        return custname;
    }

    /**
     * @param custname
     */
    public void setCustname(String custname) {
        this.custname = custname;
    }

    /**
     * @return sex
     */
    public Double getSex() {
        return sex;
    }

    /**
     * @param sex
     */
    public void setSex(Double sex) {
        this.sex = sex;
    }

    /**
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * @return career
     */
    public String getCareer() {
        return career;
    }

    /**
     * @param career
     */
    public void setCareer(String career) {
        this.career = career;
    }

    /**
     * @return createtime
     */
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * @param createtime
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}